import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

import { useUserStore } from './modules/user'
import { useTagStore} from "@/stores/modules/tag.js";
import { useTeamTagStore } from './modules/teamTag'
import { useTeamFormStore } from './modules/teamForm'
import { usePageStore } from './modules/page'

export { useUserStore }
export { useTagStore }
export { useTeamTagStore }
export { useTeamFormStore }
export { usePageStore }
